package com.niuwa.p2p.dao;

import org.springframework.data.mongodb.core.MongoOperations;

/**
 * 
 * @title mangoDB抽象dao
 *
 * @author tennyqin
 * @version 1.0
 * @created 2015年4月10日
 */
public abstract class BaseMongoDao {
	
	public BaseMongoDao(MongoOperations mongo) {
		this.mongo = mongo;
	}

	protected MongoOperations mongo;

	public MongoOperations getMongo() {
		return mongo;
	}

	public void setMongo(MongoOperations mongo) {
		this.mongo = mongo;
	}
}
